<%@ page contentType="text/html;charset=UTF-8" language="java" import="iso3.pt.action.*" %>
<%@ taglib prefix="s" uri="/struts-tags" %>


<html>
	<head>
	    <link href="<s:url value='/css/main.css'/>" rel="stylesheet" type="text/css"/>
	    <title><s:text name="application.title"/></title>
	</head>
	<body>
				
		<div class="titleDiv"><s:text name="application.title"/></div>
		<h1>
			<s:text name="label.studentSubjectRegistrationForm.enrollment"/>
		</h1>
		<br/>
		
		<s:form action="doListEnrolledSubjects!enrollNew" method="POST">
			<s:select 
				name="subjectID" 
				list="listaTodasAsignaturas"
				listKey="id"
				listValue="nombre"
				label="%{getText('label.studentSubjectRegistrationForm.select')}"
			/>
			<s:submit 
				value="%{getText('label.login.button')}" 
				align="center"
			/>
		</s:form>
			
		<s:form action="doSubject!cancelSubjectlisting" method="post">
			<s:submit 
				value="%{getText('label.subjectStudents.button')}" 
				align="center"
			/>
		</s:form>
	
</body>
</html>
